package com.example.administrator.yuejian_2.interservice;

import com.example.administrator.yuejian_2.bean.ActivityCancelFollowBean;
import com.example.administrator.yuejian_2.bean.ActivityFollowBean;
import com.example.administrator.yuejian_2.bean.ActivityIsFollowedBean;
import com.example.administrator.yuejian_2.bean.ContestCancelFollowBean;
import com.example.administrator.yuejian_2.bean.ContestFollowBean;
import com.example.administrator.yuejian_2.bean.ContestIsFollowedBean;
import com.example.administrator.yuejian_2.bean.MasterCancelFolloweBean;
import com.example.administrator.yuejian_2.bean.MasterFollowBean;
import com.example.administrator.yuejian_2.bean.MasterIsFollowedBean;

import retrofit2.Call;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/10/19.
 */

public interface FollowService {
    @POST("follow/acFollow")
    Call<ActivityFollowBean> acFollow(@Query("uid") int uid,
                                      @Query("aid") int aid);

    @POST("follow/acnofollow")
    Call<ActivityCancelFollowBean> acnofollow(@Query("uid") int uid,
                                              @Query("aid") int aid);
    @POST("follow/isacfollow")
    Call<ActivityIsFollowedBean> isacfollow(@Query("uid") int uid,
                                            @Query("aid") int aid);




    @POST("follow/ismafollow")
    Call<MasterIsFollowedBean> ismafollow(@Query("uid") int uid,
                                          @Query("mid") int mid);

    @POST("follow/maFollow")
    Call<MasterFollowBean> maFollow(@Query("uid") int uid,
                                    @Query("mid") int mid);
    @POST("follow/manofollow")
    Call<MasterCancelFolloweBean> manofollow(@Query("uid") int uid,
                                             @Query("mid") int mid);



    @POST("follow/iscofollow")
    Call<ContestIsFollowedBean> iscofollow(@Query("uid") int uid,
                                           @Query("cid") int cid);
    @POST("follow/cofollow")
    Call<ContestFollowBean> cofollow(@Query("uid") int uid,
                                       @Query("cid") int cid);
    @POST("follow/conofollow")
    Call<ContestCancelFollowBean> conofollow(@Query("uid") int uid,
                                             @Query("cid") int cid);



}
